import time

from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select

driver = webdriver.Chrome()
driver.maximize_window()
driver.get("https://passport.ctrip.com/user/member/fastOrder")
element = driver.find_element(By.XPATH, '//*[@id="slider"]/div[1]/div[2]')
ActionChains(driver).drag_and_drop_by_offset(element, 300, 0).perform()
time.sleep(3)
driver.close()
